.order-create-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.adm-nav-bar {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 订单区域通用样式 */
.order-section {
  background-color: #fff;
  margin: 10px 0;
  padding: 15px;
}

.section-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

/* 地址选择样式 */
.selected-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.address-info {
  flex: 1;
}

.address-header {
  margin-bottom: 5px;
}

.address-name {
  font-weight: 500;
  margin-right: 10px;
}

.address-phone {
  color: #666;
}

.address-detail {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.address-arrow {
  color: #ccc;
  margin-left: 10px;
}

.add-address {
  display: flex;
  align-items: center;
  color: #1677ff;
}

.add-address span {
  margin-left: 5px;
}

/* 商品列表样式 */
.order-items {
  margin-top: 10px;
}

.order-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.item-image {
  flex: 0 0 80px;
  margin-right: 10px;
}

.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-name {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-price {
  font-weight: 500;
  color: #ff4d4f;
}

.item-quantity {
  color: #999;
  font-size: 14px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
}

.total-price {
  color: #ff4d4f;
  font-weight: 600;
}

/* 支付方式样式 */
.payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 底部空间，防止内容被底部按钮遮挡 */
.order-bottom-space {
  height: 70px;
  width: 100%;
}

/* 固定底部按钮 */
.order-fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  height: 60px;
  padding: 0 15px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-width: 480px;
  margin: 0 auto;
  border-top: 1px solid #f0f0f0;
}

.footer-total {
  font-size: 16px;
}

.total-label {
  margin-right: 5px;
}

.footer-submit {
  width: 120px;
}

.submit-btn {
  width: 100%;
  height: 40px;
  background-color: #ff4d4f;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* 按钮悬停效果 */
.submit-btn:hover {
  opacity: 0.9;
}

/* 按钮点击效果 */
.submit-btn:active {
  opacity: 0.8;
}

/* 弹窗样式 */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.popup-title {
  font-size: 16px;
  font-weight: 500;
}

.popup-close {
  color: #999;
  font-size: 14px;
}

/* 地址列表样式 */
.address-list {
  padding: 0 15px;
  overflow-y: auto;
  max-height: calc(60vh - 50px);
}

.address-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.address-item.active {
  background-color: #f6f6f6;
}

.address-default {
  display: inline-block;
  font-size: 12px;
  color: #ff4d4f;
  border: 1px solid #ff4d4f;
  padding: 0 5px;
  border-radius: 2px;
  margin-left: 10px;
}

.add-new-address {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  color: #1677ff;
}

/* 支付方式列表样式 */
.payment-list {
  padding: 0 15px;
}

.payment-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.payment-item:last-child {
  border-bottom: none;
}

.payment-item.active {
  background-color: #f6f6f6;
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
}

.alipay-icon {
  background-color: #1677ff;
  color: #fff;
}

.wechat-icon {
  background-color: #07c160;
  color: #fff;
}

.cod-icon {
  background-color: #f5a623;
  color: #fff;
}

.payment-name {
  flex: 1;
}

.payment-selected {
  color: #1677ff;
  font-size: 16px;
}